#include "random.h"
#include <limits>

#define SEED 907431
#define N_DEF 100

#include <iostream>
using namespace std;

int main(int argc, char *argv[]) {
  int n = (argc > 1) ? atoi(argv[0]) : N_DEF;

  rngc_t rng_(SEED);
  rngintb_t rng(rng_, gm_uniform_int_t(0, numeric_limits<int>::max()));

  cerr << "global seed: " << SEED << endl;
  for(int i=0; i<n; ++i)
    cout << rng() << endl;
  return 0;
}
